// 编写好规则
export const rules = {
  name: [
    {
      required: true,
      message: 'type in your e-mail',
      trigger: 'blur'
    },
    {
      // pattern: /[.*]{5,60}$/,
      message: 'Please type in your e-mail account',
      trigger: 'blur'
    }
  ],
  password: [
    {
      required: true,
      message: 'type in password',
      trigger: 'blur'
    },
    {
      pattern: /^[a-z0-9]{3,}$/,
      message: 'Please type in your password',
      trigger: 'blur'
    }
  ]
}
